$green:#52b561;
$blue:#4a687f;
$red:red;
@import "style";

*{
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
}

html,body,h1,h2,h3,h4,h5,h6,p,ul,li{
    @include margin(0);
    padding: 0;
}
ul,li{
    list-style: none;
}
a{
    text-decoration: none;
    &:hover{
        cursor: pointer;
        cursor: -ms-pointer;
    }
}

/*
 * 字体颜色和背景颜色
 */
.green {
    color: $green;
}
.green-bg{
    background-color: $green;
}
.blue {
    color: $blue;
}
.blue-bg{
    background-color: $blue;
}
.red {
    color: $red;
}
.red-bg{
    background-color: $red;
}


/*
 * 列表的样式
 */

.table_style{
    width: 100%;
    position: relative;
    .table_list{
        width: 100%;
        height: 45px;
        line-height: 45px;
        font-weight: 200;
        overflow: hidden;
        .list_item{
            text-align: center;
            font-size: 13px;
            display: inline-block;
            float: left;
            height: 100%;
            overflow: hidden;
            text-overflow:ellipsis;
            white-space: nowrap;
            .btn{
                display: inline-block;
                height: 26px;
                line-height: 26px;
                font-size: 12px;
                text-align: center;
                @include border-radius(26px);
                -webkit-border:1px solid #52b561;
                border:1px solid #52b561;
                color: #52B561;
                @include margin(9.5px 5px 9.5px 5px);
            }
            .btn_2{
                width: 55px;
            }
            .btn_4{
                width: 80px;
            }
            .btn_6{
                width: 100px;
            }
            .btn_blue{
                -webkit-border:1px solid #4a687f;
                border:1px solid #4a687f;
                color: #4a687f;
            }
            .check {
                margin-top: 17px;
                display: inline-block;
                width: 16px;
                height: 16px;
                @include border-radius(2px);
                border: 1px solid #B2B2B2;
                -webkit-border: 1px solid #B2B2B2;
                background-color: #eeeeee;
                background-repeat: no-repeat;
                background-size: 110%;
                background-position: center;
                &:hover {
                    cursor: -ms-pointer;
                    cursor: pointer;
                }
            }
            .active {
                border: none;
                -webkit-border: none;
                background-image: url(../img/logo/select_active_logo_2x.png);
            }
        }
        .mark {
            .cont {
                display: inline-block;
                float: left;
            }
            .mark_logo {
                float: left;
                margin-left: 70px;
                margin-right: 10px;
                position: relative;
                display: inline-block;
                width: 20px;
                height: 20px;
                .logo {
                    display: inline-block;
                    @include border-radius(50%);
                    border: 1px solid #52B561;
                    -webkit-border: 1px solid #52B561;
                    color: #52B561;
                    width: 20px;
                    height: 20px;
                    line-height: 20px;
                    font-size: 13px;
                    text-align: center;
                }
                .mark_cont {
                    display: none;
                }
                &:hover {
                    .logo{
                        background-color: #52B561;
                        color: #FFFFFF;
                        border: none;
                        -webkit-border: none;
                    }
                    .mark_cont {
                        position: absolute;
                        display: inline-block;
                        top: 0;
                        left: 30px;
                        width: 200px;
                        font-size: 13px;
                        font-weight: 200;
                        line-height: 26px;
                        background: #d6f0da;
                        border-radius: 6px;
                        text-align: left;
                        padding: 10px;
                    }
                }
            }
        }
    }
    .list_big{
        height: 60px;
        line-height: 60px;
        .list_item{
            .btn{
                @include margin(15px 5px 15px 5px);
            }
            .img_logo{
                display: inline-block;
                margin-top: 7.5px;
                width: 45px;
                height: 45px;
                background-size: cover;
                background-repeat: no-repeat;
            }
            .default{
                background-image: url(../img/static/sample_default_2x.png);
            }
        }
    }
    .table_list:nth-child(2n+3){
        background-color: #f2f2f2;
    }
    .header{
        background-color: #DCDCDC;
        height: 45px;
        line-height: 45px;
        font-weight: 400;
    }
    .table_nothing{
        width: 100%;
        height: 400px;
        text-align: center;
        padding-top: 200px;
        .nothing_list_logo{
            height: 100px;
        }
        .nothing_msg{
            width: 100%;
            line-height: 100px;
            font-size: 16px;
            color: #B2B2B2;
        }
    }
    
    .cont_page_top_60{
        top: 1300px;
    }
    .cont_page_top_45{
        top: 1000px;
    }
    .cont_page_top_45_01{
        top: 550px;
    }
    /* 分页的样式*/
    .cont_pages_style {
        position: absolute;
        margin-top: 30px;
        width: 100%;
        height: 30px;
        font-size: 12px;
        color: #323232;
        text-align: left;
        .page_left {
            float: left;
        }
        .page_right {
            float: right;
            .right_item {
                display: inline-block;
                @include margin(0 2px 0 2px);
                height: 11px;
                width: 20px;
                text-align: center;
                .logo{
                    height: 11px;
                }
            }
            .right_pages{
                width: 50px;
                height: 16px;
                font-size: 12px;
                line-height: 16px;
            }
            .omit {
                border: none;
            }
        }
    }

}


/*
 * tab切换样式
 */
.tab_list_style{
    width: 100%;
    height: 53px;
    line-height: 50px;
    overflow: hidden;
    font-weight: 200;
    .tab_item{
        display: inline-block;
        float: left;
        font-size: 15px;
        padding: 0 20px;
        color: #B2B2B2;
        &:hover{
            cursor: -ms-pointer;
            cursor: pointer;
        }
    }
    .active{
        color: #52B561;
        border-bottom: 3px solid #52B561;
        -webkit-border-bottom: 3px solid #52B561;
    }
    .btn{
        margin-top: 11px;
        display: inline-block;
        float: right;
        height: 30px;
        line-height: 30px;
        text-align: center;
        font-size: 13px;
        @include border-radius(30px);
        background-color: #52B561;
        color: #FFFFFF;
    }
    .btn_4{
        width: 100px;
    }
}


/*成功和删除提示框*/
.tips {
    position: fixed;
    z-index: 5;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    .tips_del_cont {
        position: absolute;
        width: 350px;
        height: 250px;
        background: #ffffff;
        @include border-radius(10px);
        @include calc(350px,250px);
        .cont_tips {
            width: 100%;
            height: 190px;
            text-align: center;
            .del_logo {
                margin-top: 40px;
                width: 45px;
                margin-bottom: 20px;
            }
            .del_tips {
                width: 300px;
                margin: 0 auto;
                text-align: center;
                font-size: 14px;
                line-height: 30px;
            }
            .msg_1{
                line-height: 60px;
            }
            .msg_2{
                line-height: 30px;
            }
        }
        .cont_btn {
            width: 100%;
            height: 60px;
            line-height: 59px;
            text-align: center;
            border-top: 1px solid #DCDCDC;
            .a {
                display: inline-block;
                width: 50%;
                float: left;
                font-size: 14px;
            }
            .btn_concle {
                color: #B2B2B2;
                @include border-radius(0 0 0 10px);
                border-right: 1px solid #DCDCDC;
            }
            .btn_sure {
                color: #52B561;
                @include border-radius(0 0 10px 0);
            }
        }
    }
    .tips_success_cont {
        position: absolute;
        width: 300px;
        height: 260px;
        background: #ffffff;
        @include border-radius(10px);
        @include calc(300px,260px);
        text-align: center;
        .success_logo {
            margin-top: 60px;
        }
        .success_tips {
            width: 260px;
            margin: 0 auto;
            font-size: 14px;
            line-height: 100px;
        }
    }
}


